﻿var BaseFixture = new function () {

    this.GetFixture = function () {

        //Universe Fixture BEGIN
        var theUniverse = new Universe(new Rectangle(new Point(700, 250), new Size(1400, 500)), 'The Universe', [
            new Galaxy(0, new Rectangle(new Point(600, 250), new Size(500, 400)), 'Galaxy 1', [
                new SolarSystem(0.2, BasicPhysics.SPIN_DIRECTION_CLOCKWISE, new Star(100, 65000, new Rectangle(new Point(50, 50), new Size(50, 50)), 'Star'), new Rectangle(new Point(200, 200), new Size(100, 100)), 'Solar System', [
                    new Planet(0.4, BasicPhysics.SPIN_DIRECTION_CLOCKWISE, 10, 1000, new Rectangle(new Point(50 + 50, 50), new Size(10, 10)), 'Planet')
                    , new Planet(0.2, BasicPhysics.SPIN_DIRECTION_COUNTER_CLOCKWISE, 10, 1000, new Rectangle(new Point(50 + 70, 50), new Size(10, 10)), 'Planet')
                    ])
                ])

            , new Galaxy(0.5, new Rectangle(new Point(100, 100), new Size(100, 100)), 'Galaxy 2', [
                new SolarSystem(0.3, BasicPhysics.SPIN_DIRECTION_COUNTER_CLOCKWISE, new Star(100, 65000, new Rectangle(new Point(7, 7), new Size(10, 10)), 'Star'), new Rectangle(new Point(80, 50), new Size(15, 15)), 'Solar System', [
                    ])
                ])
            ]);

        //Universe Fixture END

        return theUniverse;

    };

};